<?php
/*
	样式设置
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'basic';
$return=array();
if($_RQ['op']=='basic'){
	if($_RQ['postdata']){
		$postdata=get_postdata();
		$this->plugin_setting('page_setting',$postdata);
		exi('设置成功');
	}
	$return['item']=$this->plugin_setting('page_setting');
	$htmls=array(
		'type'=>'edit',
		'desc'=>'申请设置',
		'tabs'=>$tabs,
		'edit_tab'=>true,
		'edits'=>array(
			array(
				'title'=>'申请设置',
				'list'=>array(
					array('type'=>'image','title'=>'注册头部图片','name'=>'m_regbg'),
				)
			),
			array(
				'title'=>'申请协议',
				'list'=>array(
					array('type'=>'string','title'=>'协议名称','name'=>'m_applytitle'),
					array('type'=>'richtext','title'=>'协议内容','name'=>'m_applycontent'),
					
								
					)
			)
		)
	);
	$return['is']=array('0'=>'否','1'=>'是');
	$return['htmls']=$htmls;
	exi($return);
}

